#include<stdio.h>
#include<stdlib.h>
#include<stdbool.h>
#include "Case.h"


typedef struct
{

int dimx, dimy;
caseMat **Mat;
}labyrinthe;

int  Min(int a,int b);

void InitLabyrinthe (labyrinthe * Laby, const int *, const int *);
int GetDimxLabyrinthe (const labyrinthe *);
int GetDimyLabyrinthe (const labyrinthe *);
bool caseOuverte (caseMat *);
caseMat GetcaseMatLabyrinthe (const labyrinthe* , const int *, const int* );

void verifChemin(labyrinthe *,const int *, const int *, const int *, const int *, int );
void afficheLabyrinthe (labyrinthe *, const int *,const int *);
void genererLabyrinthe(labyrinthe *, const int* ,const int* );
int  murAleatoir(int , int, int , int);
